<?php 
//session_start();
//find some way to include this when js is turned off...

//require('../../functions.php');
require('../../db.php');


/***** PROCESS FOR SPECIFIC NAME REQUEST *****/

$ns = filter_var($_POST['wk_ns'], FILTER_SANITIZE_STRIPPED);

if(isset($ns)) {
	
	
	//this is the JSON data...
/*	$n = $db->prepare("SELECT DISTINCT model_name FROM cal");
	$n->execute();

	$m_nms['model_name'] = $n->fetchAll(PDO::FETCH_COLUMN);
	
	echo json_encode($m_nms);
*/

/*	print "<pre>";
		//print_r($name);
		print_r(json_encode($m_nms));
	print "</pre>"; 
*/


} else {
	print "no data...";
}